                        <?php if ($message): ?>
			<div id="message_box"  style="width: 660px">
                                        <?php echo Form::open('message/send_message', array('class' => 'standard_form'))?>
                                        <ul class="list">						
                                            <li>
                                                <div>
                                                    <?php echo Form::label('recipient',__('Recipient').'*:') ?>
                                                    <div style="padding-top: 14px;font-size: 12px;"><strong><?php echo $profile->name.' '.$profile->surname ?></strong></div>
                                                    <?php echo Form::hidden('recipient', $profile->user_id); ?>
                                                    <div style="clear: both"></div>
                                                </div>
                                            </li>
                                            <li>
                                                <div>
                                                    <?php echo Form::label('subject',__('Subject').'*:') ?>
                                                    <?php echo Form::input('subject', null, array('class' => 'standard_text_form',
                                                                                                  'id'    => 'subject')) ?>
                                                    <div style="clear: both"></div>
                                                </div>

                                            </li>
                                            <li style="border-bottom: none">
                                                <div>
                                                    <?php echo Form::textarea('content_message', null, array('class' => 'standard_textarea_form', 
                                                                                                             'id'    => 'content_message')) ?>
                                                    <div style="clear: both"></div>
                                                
                                                    <?php echo Form::submit('send', __('Send message'), array('class' => 'button_blue',
                                                                                                              'style' => 'margin-right: 16px;margin-bottom: 10px;float: right;')) ?>
                                                </div>
                                            </li>
                                        </ul>
                                        <?php echo Form::close() ?>
                                    </div>
                        <?php endif ?>
                        <nav class="profile_navigation">
			<ul>
                                <?php if (isset($desktop) and $desktop == 1) : ?><li><a href="/profile/<?php echo $profile->url ?>" id="profile_icon_mini"><span>profile</span></a></li>
				<?php else: ?><li><a href="/desktop/<?php echo $profile->url ?>" id="desktop_icon_mini"><span>pulpit</span></a></li><?php endif ?>
				<?php if ($message): ?><li><a href="" id="message_icon_mini"><span>wyślij wiadomość</span></a></li><?php endif ?>
				<?php if ($add_to_contacts): ?><li><a href="/contact/send_request/<?php echo $profile->url ?>" id="friend_icon_mini" rel="<?php echo __('Send an invitation to the group of contacts to :user ? | :user will have to confirm your invitation. Send an invitation only if you know him personally. |Send Invitation|Cancel',array(':user' => $profile->name.' '.$profile->surname)) ?>"><span><?php echo __('add to contacts')?></span></a></li><?php endif ?>
			</ul>
                        </nav>